package com.yf.exam.modules.trainingarchives.teacherplanexecution.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value="TeachingPlanExecutionDTO对象", description="教学计划执行DTO")
public class TeachingPlanExecutionDTO {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "教学计划执行ID")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "外键: 培训班信息")
    @NotBlank(message = "培训班级信息不能为空")
    private String trainingClassInfoId;

    @ApiModelProperty(value = "课程名称")
    @NotBlank(message = "课程名称不能为空")
    private String courseName;

    @ApiModelProperty(value = "学时数")
    @NotNull(message = "学时数不能为空")
    private Integer hours;

    @ApiModelProperty(value = "教材")
    @NotBlank(message = "教材不能为空")
    private String textbook;

    @ApiModelProperty(value = "培训讲课教师姓名")
    @NotBlank(message = "培训讲课教师姓名不能为空")
    private String teacherName;

    @ApiModelProperty(value = "教师工作单位")
    private String teacherWorkplace;

    @ApiModelProperty(value = "教师毕业院校")
    private String teacherGraduatingSchool;

    @ApiModelProperty(value = "教师所学专业")
    private String teacherMajor;

    @ApiModelProperty(value = "教师所教专业")
    private String teacherTeachingMajor;

    @ApiModelProperty(value = "教师职称")
    private String teacherTitle;

    @ApiModelProperty(value = "教师签字")
    private String teacherSignature;
}
